home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
misc
/
avmNfax1_33.lha
/
AVMSuite
/
rexx
/
settfaxvars.avm
< prev
next >
Wrap
Text File
|
1994-06-24
|
1KB
|
58 lines
/*--------------------------------------------------------------*/
/*reading fax settings and writing them into some vars*/
faxprogram = upper(getclip('AVMFaxProgram'))
if faxprogram ~= 'TRAPFAX' then exit
call open('cservcfg', 'avm:servers.cfg', 'r')
do forever
cfaxidl = readln('cservcfg')
equpos = index(cfaxidl,'=')
if equpos > 0 then cfaxidh = left(cfaxidl, (equpos - 1))
clength = length(cfaxidl)
clength = clength - equpos
cfaxid = right(cfaxidl, clength)
if eof('cservcfg') then break
if cfaxidh = 'faxid' then
do
address command 'sys:rexxc/rxset TFaxID '|| cfaxid
end
else
if cfaxidh = 'faxCapability' then
do
address command 'sys:rexxc/rxset TFaxCap '|| cfaxid
end
else
if cfaxidh = 'faxsetup1' then
do
address command 'sys:rexxc/rxset TFaxStp1 '|| cfaxid
end
else
if cfaxidh = 'faxsetup2' then
do
address command 'sys:rexxc/rxset TFaxStp2 '|| cfaxid
end
else
if cfaxidh = 'faxsetup3' then
do
address command 'sys:rexxc/rxset TFaxStp3 '|| cfaxid
end
else
if cfaxidh = 'faxsetup4' then
do
address command 'sys:rexxc/rxset TFaxStp4 '|| cfaxid
end
else
if cfaxidh = 'faxsetup5' then
do
address command 'sys:rexxc/rxset TFaxStp5 '|| cfaxid
end
end
call close('cservcfg')
/*--------------------------------------------------------------*/